package oceanwiki.req;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @FileName EbookSaveReq
 * @Description
 * @Author Me
 * @date 2024-09-10
 **/

@Data
public class EbookSaveReq {

    private Long id;
    @NotNull(message = "名字不能为空")
    private String name;
    private Long category1Id;
    private Long category2Id;
    private String description;
    private String cover;
    private Integer docCount;
    private Integer viewCount;
    private Integer voteCount;
}
